﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ECCSystem.BizRule
{ 
    class ClsOverTimeBill
    {
		DataAccess.ClsOverTimeBill objDAMC = new ECCSystem.DataAccess.ClsOverTimeBill();
		public ClsOverTimeBill()
        { }
        //Get all MailCategory records list

		public void AddOverTimeBill(DateTime dtStartTime, DateTime dtEndTime, string strUserName, string strUserID)
        {
			objDAMC.AddOverTimeBill(dtStartTime, dtEndTime, strUserName, strUserID);

        }

		public object GetList()
		{
			return objDAMC.GetOverTimeBill();
		}

		public object GetList(DateTime objDateTime)
		{
			return objDAMC.GetOverTimeBill(objDateTime);
		}

		public void DeleteOverTimeBill(string strID)
		{
			objDAMC.DeleteOverTimeBill(strID);
		}

		public void UpdateOverTimeBill(string strID, DateTime dtStartTime, DateTime dtEndTime, string strUserName, string strUserID)
		{
			objDAMC.UpdateOverTimeBill(strID, dtStartTime, dtEndTime, strUserName, strUserID);
		}
    }
}
